
<ui:composition template="/WEB-INF/template/template.xhtml" 
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core">
	
	<ui:define name="main">
		<h:form>
		<ul class="list-group">
			<li class="list-group-item">
					<span class="badge"><h:outputText rendered="#{emailsEnviados}" value="E-mails enviados" /></span> 
					<h:commandLink rendered="#{emailsEnviados == false}" action="#{emailBean.enviarEmails}">Enviar e-mail aos participantes</h:commandLink>
					<h:commandLink rendered="#{emailsEnviados}" action="#{emailBean.enviarEmails}">Reenviar e-mail aos participantes</h:commandLink>
			</li>
			<li class="list-group-item"><h:commandLink action="#{certificadoBean.acompanharEntrega}">Acompanhar entrega de certificados</h:commandLink></li>
		</ul>
		</h:form>

	</ui:define>
	
</ui:composition>
